![]() |
PATH![]() |
![]() ![]() |
SInt32 UAMAuthenticate (
SInt32 operation,
SInt32 id,
void* authState,
SInt32 authStateSize,
void* authData,
SInt32 authDataSize,
void* authStateOut,
SInt32* authStateSizeOut,
void* authDataOut,
SInt32* authDataSizeOut);
Every server UAM must export a UAMAuthenticate routine. Before calling a server UAM's UAMAuthenticate routine, the AppleShare Registry verifies that the user and the specified UAM exist.
The UAMAuthenticate routine is called at deferred task time, so it cannot call the Memory Manager to allocate memory, but it can use other memory allocation mechanisms, such as the Open Transport memory allocation functions, which use the Apple Shared Library Manager.
Note
If your authentication method requires multiple steps, you can use the authState parameter to maintain state-dependent information.